package com.liushuai.eas.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liushuai.eas.pojo.Course;
import com.liushuai.eas.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    //查询总数
    int queryTotal();

    //通过ID查询
    Teacher selectOne(int id);

}
